home *** CD-ROM | disk | FTP | other *** search
-
- dcpp/dcpp dcpp/dcpp
-
- DCPP.DOC
-
- C PREPROCESSOR
-
-
- Matthew Dillon
- 891 Regal Rd.
- Berkeley, Ca. 94708
- USA
-
- uunet.uu.net!overload!dillon
-
-
-
- dcpp sourcefile [-o outfile] [-I includedir ...] <options>
-
- DCPP automatically scans dinclude: and dinclude:amiga/ . Any -I option
- directories are searched in sequence BEFORE dinclude: or dinclude:amiga.
- Directories specified with -I need not contain a trailing slash.
-
- As of *.**.11 dcpp also scans DINCLUDE:PD/ by default, allowing users
- to install public domain include files without cluttering up the
- standard includes.
-
- As with all DCC commands, the space between the option and the file
- arguments for -o and -I is optional.
-
- DCpp probably does not implement everything perfectly and might fail on
- some constructions.
-
- Dcc normally runs DCPP before DC1
-
- CPP.DOC
-
- The following symbols are defined by default
-
- mc68000 -running on a 68000
-
- _DCC -'DCC' compiler
-
- __STDC__ -ANSI __STDC__
-
- AMIGA -AMIGA computer
-
-
- Options to CPP
-
- -1.N
- This option selects the OS. If not specified, CPP searches
- dinclude:amiga for amiga includes. If specified, CPP searches
- dinclude:amiga1N for amiga includes instead.
-
- DCC supports this option and passes it along to cpp. This allows
- developers to compile under either 1.3 or 1.4 (or whatever) with
- the flick of an option. DCC also uses a different amiga.lib
- (see DCC docs)
-
- -d[#]
- This option turns on CPP debugging
-
- -o[ ]file
- This option sets the output file, otherwise stdout is used.
-
- -ffp
- Passed from DCC, tells preprocessor to define _FFP_FLOAT.
- If not specified, preprocessor defines _SP_FLOAT
-
-
- -D[ ]define[=stuff]
- This option predefines a symbol
-
- -E file
- specify stderr file, any errors are appended to the file
- instead of to stdout. Useful for batch compiles
-
- -U
- This option undefines certain symbols (see DOC/DCC.DOC)
-
- -I0
- This option causes CPP *NOT* to include any default
- directories in the include search list.
-
- -I[ ]dir
- This option adds the specified directory to the include
- search list. A hanging slash on the end is not required.
-
-